import pandas as pd

nameList=["600188",'600348','600546','601666','601898']

def rename(name):
    csv_data = pd.read_csv(name+'.csv', usecols=['trddt', 'opnprc', 'hiprc', 'loprc', 'clsprc', 'dnshr'])
    csv_data = csv_data.rename(columns={'trddt':'Date','opnprc':'Open','hiprc':'High','loprc':'Low','clsprc':'Close','dnshr':'Volume'})
    csv_data.to_csv(name+'_rename.csv')

for i in nameList:
    rename(i)